package com.itheima.utils;

public class ThreadLocalUtils {
    private static final ThreadLocal<Integer> threadLocal=new ThreadLocal<>();

    public static void set(Integer id) {
        threadLocal.set(id);
    }

    public static Integer get() {
        return threadLocal.get();
    }


    public static void remove() {
        threadLocal.remove();
    }
}
